package top.anonyeast.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/quickStart")
public class HelloController {
    //接口:http://localhost:8080/hello
    @ResponseBody
    @RequestMapping("/hello")
    public String hello(){
        //调用业务，接收前端参数
        return "Hello,Spring Boot";
    }
}
